In Python 3.9 (and presumably earlier), sysconfig.get_path('purelib')
returns a path which does not exist on Debian, breaking a test. This
is already reported as a Debian bug (#998739). As Python 3.9 is being
retired from Debian, we just skip the problematic parts of this test.
Use buildflags and only build one attach_linux binary
Forwarded: not-needed
Last-Update: 2022-06-16
Original patch: William Grzybowski <william@grzy.org>
The original code tries to build both 32-bit and 64-bit versions.
This patched version only builds one copy of the library for the
build architecture.
The original system has two separate setup.py files, and we need
to run the other one manually, as only one of the two extensions is
built in setup.py. This patch moves the extension building into the
standard setup.py.
* New upstream snapshot
* Skip another failing test on armel
* Mark autopkgtests as flaky on architectures other than amd64 and i386
(closes: #1019151)
* Improve tests based on Spyder test process
Julian Gilbey [Sun, 14 Aug 2022 07:56:26 +0000 (08:56 +0100)]
Handle Debian's purelib setting
Forwarded: not-needed
Last-Update: 2022-06-21
In Python 3.9 (and presumably earlier), sysconfig.get_path('purelib')
returns a path which does not exist on Debian, breaking a test. This
is already reported as a Debian bug (#998739). As Python 3.9 is being
retired from Debian, we just skip the problematic parts of this test.
Julian Gilbey [Sun, 14 Aug 2022 07:56:26 +0000 (08:56 +0100)]
Use buildflags and only build one attach_linux binary
Forwarded: not-needed
Last-Update: 2022-06-16
Original patch: William Grzybowski <william@grzy.org>
The original code tries to build both 32-bit and 64-bit versions.
This patched version only builds one copy of the library for the
build architecture.
The original system has two separate setup.py files, and we need
to run the other one manually, as only one of the two extensions is
built in setup.py. This patch moves the extension building into the
standard setup.py.
Julian Gilbey [Mon, 8 Aug 2022 19:07:18 +0000 (20:07 +0100)]
Handle Debian's purelib setting
Forwarded: not-needed
Last-Update: 2022-06-21
In Python 3.9 (and presumably earlier), sysconfig.get_path('purelib')
returns a path which does not exist on Debian, breaking a test. This
is already reported as a Debian bug (#998739). As Python 3.9 is being
retired from Debian, we just skip the problematic parts of this test.
Julian Gilbey [Mon, 8 Aug 2022 19:07:18 +0000 (20:07 +0100)]
Use buildflags and only build one attach_linux binary
Forwarded: not-needed
Last-Update: 2022-06-16
Original patch: William Grzybowski <william@grzy.org>
The original code tries to build both 32-bit and 64-bit versions.
This patched version only builds one copy of the library for the
build architecture.
The original system has two separate setup.py files, and we need
to run the other one manually, as only one of the two extensions is
built in setup.py. This patch moves the extension building into the
standard setup.py.